import request from "@/request/request";
import qs from "qs"

export function getCartList(){
    let url = `/app/cart`;
    let param = {
        url:url,
        method:"get"
    }
    return request(param);
}


export function plusCart(foodId,flavorItem,flavorValue){
    let url = `/app/cart/plus`;
    let param = {
        url:url,
        method:"post",
        data:"foodId="+foodId+"&flavorItem="+flavorItem+"&flavorValue="+flavorValue
    }
    return request(param);
}
export function minusCart(foodId,flavorItem,flavorValue){
    let url = `/app/cart/minus`;
    let param = {
        url:url,
        method:"post",
        data:"foodId="+foodId+"&flavorItem="+flavorItem+"&flavorValue="+flavorValue
    }
    return request(param);
}







